<template>
  <div class="icons-wrap">
    <sub-icon v-for="item in fields" :key="item.id" :field="item"></sub-icon>
  </div>
</template>

<script>
  import SubIcon from './Sub.vue';
  import fields from '@/assets/data/fields.js';

  export default {
    name: 'CategoryIcons',
    data: function() {
      return {
        fields
      }
    },
    components: {
      'sub-icon': SubIcon
    }
  }
</script>

<style lang="scss" scoped="scoped">
  @import '~styles/mixins.scss';
  @import '~styles/variables.scss';
  .icons-wrap{
    @include flex-row;
    justify-content: space-between;
    padding: .2rem .1rem;
    background-color: #FFFFFF;
  }
</style>
